<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header_css::header('ES同步配置')"></head>
<body onload="loadRightPage('r1','g2')">
<div id="dpLTE" class="container-fluid" v-cloak>
	<div class="row">
		<div class="col-md-6 form-inline pull-left">

		</div>
		<div class="col-md-6" style="width: auto">
			<div class="btn-toolbar pull-right" style="width: auto">
				<div class="btn-group" style="width: auto">
					<!--<a v-if="hasPermission('sync:mapping:remove')" class="btn btn-default" @click="clearIndex"><i class="fa fa-trash-o"></i>&nbsp;按配置清空index</a>-->
		            <!--<a v-if="hasPermission('sync:mapping:edit')" class="btn btn-default" @click="createMapping"><i class="fa fa-refresh"></i>&nbsp;按配置生成mapping</a>-->
		            <!--<a v-if="hasPermission('sync:mapping:syncbyconfig')" class="btn btn-default" @click="syncData"><i class="fa fa-cogs"></i>&nbsp;按配置sync数据</a>-->
					<a v-if="hasPermission('sync:mapping:remove')" class="btn btn-default" @click="removeEsByDataBase"><i class="fa fa-cogs"></i>&nbsp;根据dataBaseName清空es</a>
					<a v-if="hasPermission('sync:mapping:edit')" class="btn btn-default" @click="createMappingByDataBase"><i class="fa fa-cogs"></i>&nbsp;根据dataBaseName生成mapping</a>
					<a v-if="hasPermission('sync:mapping:syncbyconfig')" class="btn btn-default" @click="syncDataByDataBase"><i class="fa fa-cogs"></i>&nbsp;根据dataBaseName sync数据</a>
		        </div>
	        </div>
		</div>
	</div>
	<div class="row">
        <div id="container" style="height:4000px"></div>
	</div>
</div>
<div th:include="include/footer_js::footer"></div>
<script th:src="@{/js/sync/mapping/list.js}"></script>
<script th:src="@{/js/highcharts/highcharts.js}"></script>
<script th:src="@{/js/highcharts/exporting.js}"></script>
<script th:src="@{/js/highcharts/dark-blue.js}"></script>
<script th:src="@{/js/highcharts/web_socket/swfobject.js}"></script>
<script th:src="@{/js/highcharts/web_socket/web_socket.js}"></script>
<script th:src="@{/js/highcharts/socket_connect.js}"></script>
</body>
</html>
